package com.xuecheng.base.model;


/**
 * @author atom
 * @date 2020/9/24
 * @description 用于分页查询参数的封装
 * @version 1.0
 */

import lombok.Data;
import lombok.ToString;

/**
 *
 */

@Data
@ToString
public class PageParams {

//	当前页码
	private Long pageNo = 1L;
//	页面大小
	private Long pageSize = 30L;

	public PageParams(Long pageNo, Long pageSize) {
		this.pageNo = pageNo;
		this.pageSize = pageSize;
	}
}
